home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: jeremyx@ix.netcom.com(Jeremy Johnston )
- Newsgroups: comp.lang.c++
- Subject: Re: IMPORTANT!!!!!!!!!!!!!!!!!!!!!
- Date: 1 Feb 1996 20:52:03 GMT
- Organization: Netcom
- Message-ID: <4er95j$5hh@cloner4.netcom.com>
- References: <4epb8s$9gp@reader2.ix.netcom.com> <311043bd.32347008@nntp.ix.netcom.com>
- NNTP-Posting-Host: hun-al1-11.ix.netcom.com
- X-NETCOM-Date: Thu Feb 01 12:52:03 PM PST 1996
-
- In <311043bd.32347008@nntp.ix.netcom.com> miker3@ix.netcom.com (Mike
- Rubenstein) writes:
- >
- >jeremyx@ix.netcom.com(Jeremy Johnston ) wrote:
- >
- >>
- >>
- >>
- >> For some reason i can never get the \ to print! How do you
- get
- >> the \ to show up on the screen when you run the program??
- >>
- >> ex:
- >>
- >>
- >> printf(" i can never get the \ to print");
- >> printf(" do you like dogs\cats?");
- >>
- >> after i compile the program & run it the "\" doesn'y show up?
- >> please help!?
- >>
- >
- >In C++ literal strings, \ is an escape character. You need something
- >like
- >
- > printf(" i can never get the \\ to print");
- > printf(" do you like dogs\\cats?");
- >
- >
- >Michael M Rubenstein
-
- so your saying i just gotta make two of them & it will work?
-